| title | LDAP Search Filter Cheatsheet |
|---|---|
| author | Jon LaBelle |
| date | January 4, 2021 |
| source | https://jonlabelle.com/snippets/view/markdown/ldap-search-filter-cheatsheet |
| notoc | true |
Discover gists
| "The common wisdom of "don't use conditionals in shaders" is one of my biggest frustrations with how shaders are taught. | |
| step(y, x) _is_ a conditional! It compiles to identical code as: | |
| float val = (x >= y ? 1.0 : 0.0) | |
| or | |
| float val = 0.0; | |
| if (x >= y) val = 1.0;" | |
| https://twitter.com/bgolus/status/1235254923819802626 | |
| // Performing shader divisions without diving *rcp = approximation of 1/x | |
| float myDividedVal = myValToDivide * rcp(myDivider); |
A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.
Firstly to make the browser see and be able to use the HID device (/dev/hidraw*), we need to make a udev rule:
Check the PID and the VID of your devices:
lsusb | grep Keychron
Bus 003 Device 004: ID 3434:d030 Keychron Keychron Link
Bus 003 Device 009: ID 3434:0960 Keychron Keychron V6 Max
| /* | |
| * Copyright 2026 Kyriakos Georgiopoulos | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * https://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| ! Custom static filter list - Sushant Aggarwal | |
| !__________________________ Google & Youtube Ads __________________________ | |
| # Zero Ads in Youtube Videos | No watermarks, Cards, Info. Nothing! Zilch! Nada! | |
| ||youtube.com/annotations_ | |
| youtube.com##.ytp-ce-element-show | |
| youtube.com##.ytp-ce-element | |
| youtube.com##.ytp-cards-teaser-text | |
| youtube.com##.ytp-cards-button-icon-default | |
| youtube.com##.annotation-type-text.annotation |
I’ve written a newer optimized 2026 version of this guide with a faster setup using Zinit + Starship and improved plugin loading.
This version avoids slow shell startups and works better with modern Zsh setups.
Updated guide: https://gist.github.com/n1snt/2cccc8aa5f7b645a7628d3512c70deb6
